package com.capgemini.remind.mapper;

import com.capgemini.core.PageList;
import com.capgemini.remind.pojo.HqPromotion;

import java.util.List;

public interface HqPromotionMapper {

	int insert(HqPromotion pojo);

	HqPromotion getSelectedByMaintenanceType(String type);

	HqPromotion getSelected();

	int deletePhysicalById(String id);

	List<HqPromotion> queryPage(final PageList<HqPromotion> pageList);

	HqPromotion getById(String id);

	int updateById(HqPromotion pojo);

	int updateUnselectedByMaintenanceType(String type);

	int updateUnselected();
}